package com.common.constant;

public class ModelParameter {

    // Commits
    public static final double COMMITS_MEDIAN = 250;
    public static final double COMMITS_WEIGHT = 2;

    // Pull Requests
    public static final double PRS_MEDIAN = 50;
    public static final double PRS_WEIGHT = 3;

    // Issues
    public static final double ISSUES_MEDIAN = 25;
    public static final double ISSUES_WEIGHT = 2;

    // Repositories
    public static final double REPOS_MEDIAN = 30;
    public static final double REPOS_WEIGHT = 1;

    // Stars
    public static final double STARS_MEDIAN = 100;
    public static final double STARS_WEIGHT = 1;

    // Followers
    public static final double FOLLOWERS_MEDIAN = 10;
    public static final double FOLLOWERS_WEIGHT = 3;

    // Forks
    public static final double FORKS_MEDIAN = 30;
    public static final double FORKS_WEIGHT = 1;

    // Total Stars
    public static final double TOTALSTARS_MEDIAN = 100;
    public static final double TOTALSTARS_WEIGHT = 4;


    //归一化参数 x 最大值 最小值
    //处理类型包括：commit、pr、issue、fork、获得点赞数
    public static final double COMMIT_MAX = 500;
    public static final double COMMIR_MIN = 0;
    public static final double PR_MAX = 75;
    public static final double PR_MIN = 0;
    public static final double ISSUE_MAX = 221;
    public static final double ISSUE_MIN = 0;
    public static final double FORK_MAX = 110;
    public static final double FORK_MIN = 0;
    public static final double TOTALSTAR_MAX = 3948;
    public static final double TOTALSTAR_MIN = 0;



    //标准化参数 x 均值 标准差
    //处理类型包括：粉丝、repo数、点赞数
    public static final double FOLLOWER_MEAN = 179.66858308605342;
    public static final double FOLLOER_StdDEV = 1029.0716248007864;
    public static final double REPO_MEAN = 56.61016320474778;
    public static final double REPO_StdDEV = 184.67805039307433;
    public static final double STAR_MEAN = 0;
    public static final double STAR_StdDEV = 0;

}
